layui.use(['upload','layer'], function(){
    var upload = layui.upload
        ,layer = parent.layer === undefined ? layui.layer : top.layer
        ,$ = layui.jquery;

    $(".mobile_quit_btn").click(function(){
        location.href="/logout";
    });

    $(".reset-photo").click(function(){
        location.href="/resetPhoto";
    });
});